package com.tianma315.admin.qa.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.tianma315.admin.common.base.CoreService;
import com.tianma315.admin.qa.domain.QaCheckDO;
import com.tianma315.admin.qa.domain.QaSpotCheckDO;
import com.tianma315.admin.qa.vo.QaCheckVO;

import java.util.Date;
import java.util.List;

/**
 * 
 * <pre>
 * 品控检查
 * </pre>
 * <small> 2019-07-09 16:02:56 | wen</small>
 */
public interface QaCheckService extends CoreService<QaCheckDO> {

    Page<QaCheckVO> getQaCheckPage(Integer pageNumber, Integer pageSize, QaCheckVO qaCheckDTO , Date beginDate,
                                   Date endDate);

    Boolean addQaCheckDO(QaCheckDO qaCheckDO);

    Boolean deleteQaCheckDO(Integer id);

    QaCheckVO getQaCheckByProductIdAndBatch(Long productId, String batch);
    List<QaCheckVO> getQaCheckByBatch(String batch);
    
}
